package com.ztorn.fiscale.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ztorn.common.core.annotation.Excel;
import com.ztorn.common.core.web.domain.BaseEntity;

/**
 * 报关单状态历史对象 fiscale_customs_status_history
 * 
 * @author ztorn
 * @date 2025-01-19
 */
public class FiscaleCustomsStatusHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志ID */
    private Long logId;

    /** 报关单ID */
    @Excel(name = "报关单ID")
    private Long declarationId;

    /** 原状态 */
    @Excel(name = "原状态")
    private String oldStatus;

    /** 新状态 */
    @Excel(name = "新状态")
    private String newStatus;

    /** 状态变更时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "状态变更时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date statusTime;

    /** 海关消息 */
    @Excel(name = "海关消息")
    private String customsMessage;

    /** 操作类型（auto-自动，manual-手动） */
    @Excel(name = "操作类型", readConverterExp = "auto=自动,manual=手动")
    private String operationType;

    /** 操作员 */
    @Excel(name = "操作员")
    private String operator;

    /** 备注 */
    private String remark;

    public void setLogId(Long logId) 
    {
        this.logId = logId;
    }

    public Long getLogId() 
    {
        return logId;
    }
    public void setDeclarationId(Long declarationId) 
    {
        this.declarationId = declarationId;
    }

    public Long getDeclarationId() 
    {
        return declarationId;
    }
    public void setOldStatus(String oldStatus) 
    {
        this.oldStatus = oldStatus;
    }

    public String getOldStatus() 
    {
        return oldStatus;
    }
    public void setNewStatus(String newStatus) 
    {
        this.newStatus = newStatus;
    }

    public String getNewStatus() 
    {
        return newStatus;
    }
    public void setStatusTime(Date statusTime) 
    {
        this.statusTime = statusTime;
    }

    public Date getStatusTime() 
    {
        return statusTime;
    }
    public void setCustomsMessage(String customsMessage) 
    {
        this.customsMessage = customsMessage;
    }

    public String getCustomsMessage() 
    {
        return customsMessage;
    }
    public void setOperationType(String operationType) 
    {
        this.operationType = operationType;
    }

    public String getOperationType() 
    {
        return operationType;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}